import { createRouter, createWebHistory } from "vue-router";
// import routes from "../xiaolan-admin/router/index";
// import dalankaRoutes from "../dalanka-admin/router/index";
// import xlddRoutes from "../xldd-admin/router/index";
// import XlddClientRoutes from "../../backup/xldd-client/router/index";
// import XlddAdminRoutes from "../xldd-admin/router/index";

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    // {
    //   name: "",
    //   path: "/",
    //   component: () => import("@/xiaolan-admin/layout/default.vue"),
    //   children: routes,
    // },
    // {
    //   name: "DalankaAdmin",
    //   path: "/",
    //   component: () => import("@/dalanka-admin/layout/default.vue"),
    //   children: dalankaRoutes,
    // },
    // {
    //   name: "XlddClient",
    //   path: "/xldd-client",
    //   component: () => import("@/xldd-client/layout/default.vue"),
    //   children: XlddClientRoutes,
    // },
    // {
    //   name: "XlddAdmin",
    //   path: "/xldd-admin",
    //   component: () => import("@/xldd-admin/layout/default.vue"),
    //   children: XlddAdminRoutes,
    // },
    // {
    //   name: "other",
    //   path: "/other",
    //   component: () => import("@/xiaolan-admin/layout/no-layout.vue"),
    //   children: [
    //     {
    //       name: "ActivityDataScreenPreview",
    //       path: "/activity/data-screen/preview",
    //       component: () => import("@/xiaolan-admin/views/activity/data-screen/preview/index.vue"),
    //     },
    //   ],
    // },
  ],
});

export default router;
